home *** CD-ROM | disk | FTP | other *** search
- package sheet;
-
- import javax.microedition.lcdui.Command;
- import javax.microedition.lcdui.CommandListener;
- import javax.microedition.lcdui.Display;
- import javax.microedition.lcdui.Displayable;
- import javax.microedition.lcdui.TextBox;
-
- class Cell$1 implements CommandListener {
- private final Command val$helpCommand;
- private final Display val$disp;
- private final Command val$okCommand;
- private final Backable val$back;
- private final Cell this$0;
-
- Cell$1(Cell var1, Command var2, Display var3, Command var4, Backable var5) {
- this.this$0 = var1;
- this.val$helpCommand = var2;
- this.val$disp = var3;
- this.val$okCommand = var4;
- this.val$back = var5;
- }
-
- public void commandAction(Command var1, Displayable var2) {
- TextBox var3 = (TextBox)var2;
- if (var1 == this.val$helpCommand) {
- Cell.access$500().showHelp(var3, this.val$disp);
- } else {
- if (var1 == this.val$okCommand) {
- if (Cell.access$600(this.this$0) != var3.getString()) {
- Cell.access$602(this.this$0, var3.getString());
- if (Cell.access$600(this.this$0).length() == 0) {
- Cell.access$602(this.this$0, (String)null);
- }
-
- Cell.access$000().notifyChanged();
- }
-
- Cell.access$102(this.this$0, (String)null);
- Cell.access$000().calculate();
- }
-
- this.val$back.show();
- }
-
- }
- }
-